source 'https://rubygems.org'

gem 'rails', '~> 5.0.0'
gem 'rack-cache', require: 'rack/cache'

group :active_record do
  platforms :jruby do
    gem 'activerecord-jdbcmysql-adapter', '>= 1.2'
    gem 'jdbc-mysql', '>= 5.1'
    gem 'activerecord-jdbcpostgresql-adapter', '>= 1.2'
    gem 'jdbc-postgres', '>= 9.2'
    gem 'activerecord-jdbcsqlite3-adapter', '>= 1.2'
    gem 'jdbc-sqlite3', '>= 3.7'
  end

  platforms :ruby, :mswin, :mingw do
    gem 'mysql2', '~> 0.3.14'
    gem 'pg', '>= 0.14'
    gem 'sqlite3', '>= 1.3'
  end

  gem 'paper_trail', '~> 5.0'
end

group :mongoid do
  gem 'mongoid', '~> 6.0.0.beta'
  gem 'mongoid-paperclip', '>= 0.0.8', require: 'mongoid_paperclip'
  gem 'carrierwave-mongoid', '>= 0.6.3', require: 'carrierwave/mongoid'
  # gem 'refile-mongoid', '>= 0.0.1', platforms: [:ruby_21, :ruby_22]
end

gem 'carrierwave', '>= 0.8'
gem 'devise', '>= 3.2'
gem 'dragonfly', '~> 1.0'
gem 'mini_magick', '>= 3.4'
gem 'mlb', '>= 0.7'
gem 'paperclip', '>= 3.4'
gem 'rails_admin', path: '../../'

platforms :ruby_21, :ruby_22 do
  # gem 'refile', '>= 0.5', require: 'refile/rails'
  # gem 'refile-mini_magick', '>= 0.1.0'
end

# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails', '>= 4.0.3'
  gem 'coffee-rails', '~> 4.0'

  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  # gem 'therubyracer'

  gem 'uglifier', '>= 1.3'
end
